package ru.evga.gwt.lib.common.client.request.jsonrpc;

import com.google.gwt.core.client.JavaScriptObject;


public class RpcError
    extends JavaScriptObject
{
    protected RpcError()
    {
    }

    /**
     * Returns result id
     */
    public final native int getCode() /*-{
        return this.code;
    }-*/;

    public final native String getMessage() /*-{
        return this.message;
    }-*/;
}
